package com.project.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.project.bean.DetailBean;
import com.project.mapper.DetailMapper;
import com.project.service.DetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 服务实现类
 *
 * @author lyl
 * @since 2021-10-04
 */
@Service
public class DetailServiceImpl extends ServiceImpl<DetailMapper, DetailBean> implements DetailService {
    @Autowired
    DetailMapper detailMapper;

    @Override
    public List<DetailBean> updateOrderByCode(String orderCode) {
        return detailMapper.findDetailByOrderCode(orderCode);
    }
}
